﻿using UnityEngine;
using System.Collections;


public enum DoorType
{
	def,
	close,
	opend,
	hide,
}

public class Door
{
	public float x;
	public float y;
	public bool Connected;
	public Room holderRoom;
	public MapNote linker = null;
	public DoorType type;
	public Door(Vector2 pos,Room room,DoorType p = DoorType.def)
	{
		x = pos.x;
		y = pos.y;
		holderRoom = room;
		type = p;
	}
}
